package com.consente.demo.service;

import com.consente.demo.entity.Data;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;


@Component
@Repository
@Configuration
public interface DataService {

    Data selectDataByCode(String code);

    int insert(Data data);

    int update(Data data);
}
